//
//  UIImageButton.h
//  lvtu
//
//  Created by martin on 12-9-2.
//
//

#import <UIKit/UIKit.h>

@protocol UIImageButtonDelegate <NSObject>

- (void)imageButtonTouchUpInside:(NSInteger)index;

@end

@interface UIImageButton : UIImageView
{
    id<UIImageButtonDelegate> delegate;
    NSInteger index;
}

@property (nonatomic,assign)id<UIImageButtonDelegate> delegate;
@property (nonatomic,assign)NSInteger index;

@end
